[NTG-context] New example with both sides margin

2024-03-27 Thread Ursula Hermann
\starttext Me\par \blackrule[color=black, height=0.10ex, width=13.50cm]\dontleavehmode \inoutermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \par Me Many thanks for your help. Uschi Hermann

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-22 Thread Pablo Rodriguez via ntg-context
rule\\{3.2.2}}\par \dontleavehmode \blackrule It is not clear to me why you need to remain in horizontal mode after a paragraph break. At least, with the following commands, I get the same results: \inoutermargin{\blackrule\\{3.2.2}} \blackrule Just in case it

[NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-28 Thread Andres Conrado Montoya
{\inoutermargin{#2}} \setuphead [title,subject] [page=no, alternative=text, command=\SectionCommand, distance=0pt, style={\tf\sc}, before={\blank[line]}] \starttext \title{Knuth} With title: \input knuth\par \starttitle[title={Tufte}] With starttitle: \input tufte\par \stoptitle

Re: [NTG-context] ntg-context Digest, Vol 103, Issue 37

2013-01-14 Thread Malte Stien
...@ntg.nl wrote: Date: Sun, 13 Jan 2013 22:44:59 +0100 From: Sietse Brouwer sbbrou...@gmail.com To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] Controlling Appearance of \inoutermargin Message-ID: CAF=dkzyWB-aVxCKb_+Fo+_Jn+Hhdw9HBRvj7XOhGghwg=t4

Re: [NTG-context] Controlling Appearance of \inoutermargin

2013-01-13 Thread Sietse Brouwer
Hi Malte, This mail contains (1) an answer to your question; (2) a minimal working example; (3) an explanation of how I found this out (I had never heard of inoutermargin before). (1) An answer to your question. I grepped the ConTeXt source code for `inoutermargin`, and found out

[NTG-context] Controlling Appearance of \inoutermargin

2013-01-12 Thread Malte Stien
Hi, I have just changed one of my documents from single-page to double-page to be printed as a book. I have some margin remarks, that used to be on the left which I am now trying to move to the outer margin on odd and even pages (that is, left on even, right on odd pages). In doing so, I had

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
not work: \starttext \setuplayout[location={middle,doublesided},backspace=2cm] \setuppagenumbering[alternative=doublesided] % \setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx\setupinterlinespace,margin=54pt] \setupmarginframed[align=outer] % \dorecurse{20

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
, either for \inmargin or \inoutermargin? My publisher is going to kill me \usemodule[annotation] %\defineannotation[mymargin][alternative=inmargin] \define[2]\MymarginCommand {\inmargin[scope=local]{#2}} \defineannotation [mymargin] [alternative=command, command=\MymarginCommand] \starttext

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
, either for \inmargin or \inoutermargin? My publisher is going to kill me \usemodule[annotation] %\defineannotation[mymargin][alternative=inmargin] \define[2]\MymarginCommand {\inmargin[scope=local]{#2}} \defineannotation [mymargin] [alternative=command, command=\MymarginCommand] \starttext

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
] for for a single command with \inmargin[][align=outer]{…} Hmm .. does not work: \starttext \setuplayout[location={middle,doublesided},backspace=2cm] \setuppagenumbering[alternative=doublesided] % \setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Wolfgang Schuster
] for for a single command with \inmargin[][align=outer]{…} Is there any workaround, either for \inmargin or \inoutermargin? My publisher is going to kill me \usemodule[annotation] %\defineannotation[mymargin][alternative=inmargin] \define[2]\MymarginCommand {\inmargin[scope=local]{#2}} \defineannotation

Re: [NTG-context] reference bug: MkiV

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
with \inmargin[][align=outer]{…} Hmm .. does not work: \starttext \setuplayout[location={middle,doublesided},backspace=2cm] \setuppagenumbering[alternative=doublesided] % \setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx\setupinterlinespace,margin=54pt

[NTG-context] annotation MODULE BUG

2011-11-03 Thread Idris Samawi Hamid ادريس سماوي حامد
{\inoutermargin[scope=local]{#2}} \setupindenting[medium,next,yes] \defineannotation [mymargin] [alternative=command, % display=yes, command=\MymarginCommand, indentnext=yes] \starttext \dorecurse{2}{This is a test of the annotation module and the indenting mechanism} \mymargin{This is a test

[NTG-context] reference bug: MkiV

2011-11-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear cabal, There seems to be a bug in MkIV: \starttext This is a test \inoutermargin[ref]{test} As explained earlier (page \at[ref]) This is a test \inoutermargin[reference=reff]{test} As explained earlier (page \at[reff]) \stoptext The reference is not generated

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Wolfgang Schuster
Am 01.11.2011 um 19:47 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear cabal, There seems to be a bug in MkIV: \starttext This is a test \inoutermargin[ref]{test} As explained earlier (page \at[ref]) This is a test \inoutermargin[reference=reff]{test

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Idris Samawi Hamid ادريس سماوي حامد
[][ref] references unknown reference [][reff] Please advise and \inoutermargin doesn’t support references and the optional argument expects a assignments as you can see from the message Well, that's quite frustrating... I have a 400-page document I'm trying

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Wolfgang Schuster
'ref' in line 2 (@@mcinoutermargin:) references unknown reference [][ref] references unknown reference [][reff] Please advise and \inoutermargin doesn’t support references and the optional argument expects a assignments as you can see from

Re: [NTG-context] inside and outside margins (vs. 'left' and 'right' margins)

2011-04-09 Thread Otared Kavian
Hi James, You can use \inoutermargin{some marginal note} and \ininnermargin{some marginal note} Then when you use \setuplayout[location=doublesided] at the beginning of your file, the above two commands should give you what you seem to be wanting. Best regards: OK On 9

Re: [NTG-context] inside and outside margins (vs. 'left' and 'right' margins)

2011-04-09 Thread James Fisher
Hi Otared, Thanks. Two problems here: - the \inoutermargin and \ininnermargin commands add text to the margins. I can set it to no text, but I don't see why they would be necessary to define inner and outer margin size. - the location=doublesided looks like what I was looking

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread Wolfgang Schuster
Am 04.04.2011 um 23:56 schrieb C.: Hello, in my doublesided document \inmargin texts are always on the left side of the body text. \inmargin is configures to be always in the left margin, you can use \inothermargin to put the text in the opposite margin or use \inoutermargin to put

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
Hello, in my doublesided document \inmargin texts are always on the left side of the body text. \inmargin is configures to be always in the left margin, you can use \inothermargin to put the text in the opposite margin or use \inoutermargin to put the text always in the outer margin

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
}{\input knuth}Nochmal \inmargin{test 2}ein Test.\dorecurse{5}{\input knuth}\inmargin{bla} \stoptext Note: \inoutermargin on page 3 behaves correctly, though it seems to have a different default style (why bold, anyway?). As for now, I'm using \inoutermargin . -Ursprüngliche Nachricht

Re: [NTG-context] Margin text in doublesided documents

2011-04-05 Thread C.
}Nochmal \inmargin{test 2}ein Test.\inoutermargin{this is OK}\dorecurse{5}{\input knuth}\inmargin{bla} \stoptext -Ursprüngliche Nachricht- Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com] Gesendet: Dienstag, 5. April 2011 13:36 An: mailing list for ConTeXt users Betreff: Re

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Yanrui Li
{% \inoutermargin{% \hbox to .6\rightmarginwidth{% \hfil\switchtobodyfont[32pt,myfont,rm]{#1}\hss}% }\tfc #2% }% } \setuphead [chapter] [command=\PlaceChapter,header=empty,footer=empty] \starttext \chapter{Test} This is only a test! \stoptext -- Best wishes, Li Yanrui

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Wolfgang Schuster
\PlaceChapter#1#2{% \vbox{% \inoutermargin{% \hbox to .6\rightmarginwidth{% \hfil\switchtobodyfont[32pt,myfont,rm]{#1}\hss}% }\tfc #2% }% } \setuphead [chapter] [command=\PlaceChapter,header=empty,footer=empty] As alternative: \define[2]\PlaceChapter {\hbox{\vtop{#2}\rlap{\hskip

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Yanrui Li
? I extract the following fragment from my document and I wish it can help you :) \def\PlaceChapter#1#2{%  \vbox{%   \inoutermargin{%     \hbox to .6\rightmarginwidth{%       \hfil\switchtobodyfont[32pt,myfont,rm]{#1}\hss}%   }\tfc #2%  }% } \setuphead  [chapter]  [command=\PlaceChapter